package com.hwl.lab.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name="menu")
public class Menu {
    @Id
    private String menuid;
    @Column
    private String menupid;
    @Column
    private String menuname;
    @Column
    private String url;
    @Column
    private int level;
}
